package com.sc.mapper;

import com.sc.pojo.Relation;
import org.apache.ibatis.annotations.Param;

public interface RelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Relation record);

    int insertSelective(Relation record);

    Relation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Relation record);

    int updateByPrimaryKey(Relation record);

    int deleteByTwoids(@Param("id1") Integer id1,@Param("id2")Integer id2);
    int laHeiFr(@Param("id1") Integer id1,@Param("id2")Integer id2);
}